package com.hgxd.entity.vo.pagevo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hgxd.base.PageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author wtf
 * @create 2023-11-08 13:27
 * @description :
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "InspectionManagementPageVo对象", description = "巡检计划分页模糊类")
public class InspectionManagementPageVo extends PageEntity {

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("任务状态：执行中、未执行、已作废")
    private String status;

    @ApiModelProperty("开始时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endingTime;
}
